﻿Public Class SettingsWindow
    Public Shared ReadOnly SettingTextProperty As DependencyProperty =
        DependencyProperty.Register("SettingText", GetType(String), GetType(SettingsWindow),
                                    New PropertyMetadata("#Nowplaying <artist>-<title>"))
    Public Property SettingText As String
        Get
            Return CStr(GetValue(SettingTextProperty))
        End Get
        Set(value As String)
            SetValue(SettingTextProperty, value)
        End Set
    End Property

    Private Sub ButtonOK_Click(sender As System.Object, e As System.Windows.RoutedEventArgs)
        DialogResult = True
        Me.Close()
    End Sub

    Private Sub ButtonCancel_Click(sender As System.Object, e As System.Windows.RoutedEventArgs)
        DialogResult = False
        Me.Close()
    End Sub
End Class
